package top.ewind.job;
import java.util.Date;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import top.ewind.util.DateUtil;

public class HourJob implements Job {

    private final static Logger LOG = LoggerFactory.getLogger(HourJob.class);
    @Override
    public void execute(JobExecutionContext arg0) throws JobExecutionException {
  	
		long time = new Date().getTime()+ 100*1000;
		Date nowtime = new Date(time);
    	String nowHour = DateUtil.dateToStr("MM", nowtime);   
    	String nowDate = DateUtil.dateToStr(DateUtil.yyyy_MM_dd, nowtime); 
    	if(nowHour.equals("09")||nowHour.equals("15")){
        	//统计智能密集架温度湿度
    	}
    	
	}
    
    public static void main(String[] args){
    }
}